package org.htmlparser.visitors;

import org.htmlparser.Remark;
import org.htmlparser.Tag;
import org.htmlparser.Text;

public abstract class NodeVisitor
{
  private boolean mRecurseChildren;
  private boolean mRecurseSelf;

  public NodeVisitor()
  {
    this(true);
  }

  public NodeVisitor(boolean paramBoolean)
  {
    this(paramBoolean, true);
  }

  public NodeVisitor(boolean paramBoolean1, boolean paramBoolean2)
  {
    this.mRecurseChildren = paramBoolean1;
    this.mRecurseSelf = paramBoolean2;
  }

  public void beginParsing()
  {
  }

  public void finishedParsing()
  {
  }

  public boolean shouldRecurseChildren()
  {
    return this.mRecurseChildren;
  }

  public boolean shouldRecurseSelf()
  {
    return this.mRecurseSelf;
  }

  public void visitEndTag(Tag paramTag)
  {
  }

  public void visitRemarkNode(Remark paramRemark)
  {
  }

  public void visitStringNode(Text paramText)
  {
  }

  public void visitTag(Tag paramTag)
  {
  }
}